<template>
  <div class="header-nav">
    <!-- 导航栏 -->
    <div class="nav_center">
      <div class="nav_body">
        <img src="/img/logo.png" alt="" />
        <span>HOME</span>
        <span>About</span>
        <span>Service</span>
        <span>TraveAgency</span>
        <span>Contact US</span>
        <span class="input"> 点击搜索：
          <input type="text" v-model="input1"
          @keyup.enter="$router.push('/index/scenicspot')"/> 
        </span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data(){
    return{
      input1 : '',
    }
  },
  methods:{
    goScenicspot(){
      
    },
  },
};
</script>
<style src="../style/css/header.css" scope>
</style>